//
//  UIView+DDAdd.h
//  DongDongWedding(origin)
//
//  Created by 懂懂科技--xiexi on 16/8/4.
//  Copyright © 2016年 DDKJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Add)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;

- (NSIndexPath *)getCurrentIndexPathWithView;
+(BOOL)isShowingOnKeyWindow;//是否显示在主窗口
+ (UIViewController *)getCurrentVC;
@end

